package com.paomi.client.activity.vip.model;

import com.paomi.client.bean.BaseJSON;

import java.io.Serializable;
import java.util.List;

/**
 * Created by pc on 2018/12/5
 * Describe:我的会员的数据
 * "returnData": {
 * 		"member": {//我的会员信息
 * 			"threshold": 900,       //当前经验阈值
 *             "nextThreshold": 1200,//下一级经验阈值
 * 			"memberLevelName": "黄金",//当前会员等级名称
 * 			"value": 980,        //经验值
 * 			"nextMemberLevelName": "钻石"//下一级会员等级名称
 *                },
 * 		"interests": [{//我的权益
 * 				"isGet": 0,     //是否领取权益： 0、未领取 1、已领取
 * 				"name": "演出全场折扣劵", //权益名称
 * 				"img": "http://image.mydeershow.com/upload/image/20181205/422dc9d8-b2cf-410b-ba91-2546cd5df5e2.png",//只有权益为0时显示字段-优惠券logo
 * 				"getType": 0,   //领取类型： 0 每月领取一次
 * 				"interestsType": 0,//权益类型 0 优惠券
 * 				"interestsId": 27   //权益的ID
 *
 *            },
 *            {
 * 				"isGet": 0,
 * 				"name": "优惠券1",
 * 				"getType": 0,
 * 				"interestsType": 0,
 * 				"interestsId": 24
 *            }
 * 		],
 * 		"nextInterests": [{//下一级权益
 * 			"nextGetType": 0,   //下一级领取类型： 0 每月领取一次
 * 			"nextInterestsId": 30,//下一级权益的ID
 * 			"nextInterestsType": 0, //下一级权益类型 0 优惠券
 * 			"nextName": "这是优惠券" //下一级权益名称
 * 			"img": "http://image.mydeershow.com/upload/image/20181205/422dc9d8-b2cf-410b-ba91-2546cd5df5e2.png",//只有权益为0时显示字段-优惠券logo
 *        }]
 *    * 	}
 * com.paomi.client.activity.vip.model
 */
public class MyCounponBean extends BaseJSON {
    private MyCouponJson returnData;

    public MyCouponJson getReturnData() {
        return returnData;
    }

    public void setReturnData(MyCouponJson returnData) {
        this.returnData = returnData;
    }

    public class MyCouponJson implements Serializable{
        private MemberJson member;
        private List<CouponBean> interests;
        private List<NextInterJson> nextInterests;

        public MemberJson getMember() {
            return member;
        }

        public void setMember(MemberJson member) {
            this.member = member;
        }

        public List<CouponBean> getInterests() {
            return interests;
        }

        public void setInterests(List<CouponBean> interests) {
            this.interests = interests;
        }

        public List<NextInterJson> getNextInterests() {
            return nextInterests;
        }

        public void setNextInterests(List<NextInterJson> nextInterests) {
            this.nextInterests = nextInterests;
        }
    }
    public class MemberJson implements Serializable{
        private int threshold;
        private int nextThreshold;
        private String memberLevelName;
        private int value;
        private String nextMemberLevelName;

        public int getThreshold() {
            return threshold;
        }

        public void setThreshold(int threshold) {
            this.threshold = threshold;
        }

        public int getNextThreshold() {
            return nextThreshold;
        }

        public void setNextThreshold(int nextThreshold) {
            this.nextThreshold = nextThreshold;
        }

        public String getMemberLevelName() {
            return memberLevelName;
        }

        public void setMemberLevelName(String memberLevelName) {
            this.memberLevelName = memberLevelName;
        }

        public int getValue() {
            return value;
        }

        public void setValue(int value) {
            this.value = value;
        }

        public String getNextMemberLevelName() {
            return nextMemberLevelName;
        }

        public void setNextMemberLevelName(String nextMemberLevelName) {
            this.nextMemberLevelName = nextMemberLevelName;
        }
    }
    public class NextInterJson implements Serializable{
        private int nextGetType;
        private long nextInterestsId;
        private int nextInterestsType;
        private String nextName;
        private String img;
        private int type;

        public int getNextGetType() {
            return nextGetType;
        }

        public void setNextGetType(int nextGetType) {
            this.nextGetType = nextGetType;
        }

        public long getNextInterestsId() {
            return nextInterestsId;
        }

        public void setNextInterestsId(long nextInterestsId) {
            this.nextInterestsId = nextInterestsId;
        }

        public int getNextInterestsType() {
            return nextInterestsType;
        }

        public void setNextInterestsType(int nextInterestsType) {
            this.nextInterestsType = nextInterestsType;
        }

        public String getNextName() {
            return nextName;
        }

        public void setNextName(String nextName) {
            this.nextName = nextName;
        }

        public String getImg() {
            return img;
        }

        public void setImg(String img) {
            this.img = img;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }
    }
}
